$(document).ready(init);
function init(){
    if($("#currency").length){
        $("#currency").change(currency);
    }
}
/*convert currency*/
function currency(){
    var id = $("#currency").val();
    $.ajax({
        url:'booking/convert',
        type:'post',
        dataType:'json',
        data: {id:id},
        success:funciton()
    });
}